home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 1 / Cream of the Crop 1.iso / BUSINESS / PFROISW.ARJ / IMPORT.TXT < prev    next >
Text File  |  1992-07-20  |  20KB  |  490 lines

  1. Data Imports from PRODIGY, QUICKEN, SCHWAB and Others
  2.  
  3. PFROI can import data from "quote/comma" delimited files into 
  4. transaction and price history records.  The required data format is 
  5. covered in the user manual under the "Import" command (Alt+I) for each 
  6. record type. 
  7.  
  8. PFROI also can directly import price record text files from PRODIGY's 
  9. "Quote Track" and can furthermore import portfolio data from text files 
  10. generated by QUICKEN and other portfolio management programs.  This 
  11. latter ability enables users to transfer their investment records from 
  12. these less comprehensive programs to PFROI and CAPTOOL. These imports 
  13. are accomplished by using a "translate" file (file extension ".XLT") 
  14. which tells PFROI where to find each data element in the source text 
  15. file. Following import you may need to edit the data to delete 
  16. extraneous records or fill in empty data fields.  
  17.  
  18.  
  19. PRODIGY Price Imports
  20. ---------------------
  21. To import prices from the PRODIGY service perform the following steps:
  22.  
  23. 1) First run PRODIGY and "jump" to the "QUOTE TRACK" service. There, 
  24.    use the Prodigy commands and follow the Prodigy prompts to
  25.    specify the ticker symbols of the securities for which you want 
  26.    quotes. Prodigy stores these selections so that in the future you 
  27.    will not have to re-specify them.  When the quotes appear on your 
  28.    screen page down to the bottom of the list and then execute the 
  29.    Prodigy "Print" command. Specify that output be sent to a disk text 
  30.    file (default name: QUOTES.TXT).  The resulting file on your disk 
  31.    should have contents similar to the following: 
  32.  
  33.    
  34. PRODIGY (R) interactive personal service   09/14/1991     12:44 PM
  35.                               QUOTE TRACKsm
  36.  
  37.  
  38. Stock         Last     Change/      Open/      High        Low     Volume/
  39.                           Bid      Asked                             Date
  40. ----------------------------------------------------------------------------
  41. ASTA        28 3/4         -2     30 1/2     30 3/4     28 1/4    1267600
  42. BHI         24 1/4         -1     25 1/4     25 1/4         24     469200
  43. BORL        49 1/4         -1     50 1/2     51 1/8         49     306500
  44. CHPS             9     +  1/8      8 7/8          9      8 5/8      53100
  45. CTUS            17     +  3/8     16 5/8         17     16 1/2     284600
  46.  
  47.    You may wish to repeat the quote retrieval process for several groups 
  48.    of ticker symbols because PRODIGY limits the number of ticker symbols 
  49.    per group.  You may append the quotes to the existing QUOTES.TXT 
  50.    file. When through retrieving quotes, exit PRODIGY back to DOS. 
  51.  
  52. 2) Now Start PFROI or CAPTOOL.  Enter the PFROI Auxillary menu and 
  53.    select "Price History" records. 
  54.  
  55. 3) When the Price History records appear on screen, move the cursor down 
  56.    to the last record. 
  57.  
  58. 4) Execute Alt+I, the "Import" command.  You will be prompted for the 
  59.    name of an "Import" file. Respond as follows: 
  60.  
  61.      File : C:\PRODIGY\QUOTES.TXT/PRODIGY<Enter>
  62.  
  63.    This tells PFROI or CAPTOOL to import the file "QUOTES.TXT" that you
  64.    just generated with Prodigy.  The "/PRODIGY" specifies that the file 
  65.    "PRODIGY.XLT" should be used to translate the data from QUOTES.TXT to 
  66.    the internal data format used by PFROI and CAPTOOL.  
  67.    
  68.    Upon hitting the "Enter" key you should see your quotes appear.  
  69.    Review them for accuracy. 
  70.    
  71.  
  72. IMPORTANT!: If the quotes do not appear on screen or appear to be in 
  73. error this may be due to Prodigy having changed the format of their 
  74. "QUOTES.TXT" files.  You may have to modify the "translate" file 
  75. "PRODIGY.XLT" (using your word processing software) to accomodate the 
  76. new format.  
  77.  
  78.  
  79. "PRODIGY.XLT" is a short text file containing the following information: 
  80.  
  81. **PRICES**
  82. "PRODIGY",7
  83. 0,1,0,64/100,32,42,52,9
  84.  
  85. The first line merely identifies this as a translate file for price 
  86. data.  The "PRODIGY" in the second line is a "Key Word" for which 
  87. PFROI/CAPTOOL searches as it reads "QUOTES.TXT". The "7" specifies that 
  88. PFROI/CAPTOOL start importing prices beginning with the 7th line 
  89. following the "Key Word".  
  90.    
  91. The third line provides the information used to do the actual data 
  92. translation.  PFROI/CAPTOOL price records have 8 data elements as 
  93. follows: 
  94.  
  95.  1 :  Date.  Prodigy has no separate date for each quote so 
  96.       the .XLT file has a "0" entry for this field.
  97.      
  98.  2 :  Symbol.  The Prodigy symbol entry starts in screen 
  99.       column number 1, so the .XLT file has a "1".
  100.  
  101.  3 :  Type field.  Prodigy doesnt specify a type, so the .XLT 
  102.       entry is "0".
  103.  
  104.  4 :  Volume. The Prodigy entry for volume begins on the 64th
  105.       screen column, so the .XLT entry is "64".  Furthermore
  106.       because PFROI/CAPTOOL report volume in hundreds the 
  107.       "64" is followed by "/100" to indicate the volume is to
  108.       be divided by 100.
  109.  
  110.  5,6,7,8 : Open, High, Low, Last.  the Prodigy screen posi-
  111.       tion for these quotes start at columns 32, 42, 52 and 
  112.       9, hence the corresponding entries in the .XLT file. 
  113.  
  114. HINT: If you obtain Prodigy quotes over a weekend, Prodigy uses the 
  115. current day's date, even though the quotes were Friday's quotes.  Some 
  116. users may wish to edit the date in the QUOTES.TXT file before importing 
  117. to reflect the correct quote date. 
  118.  
  119. MUTUAL FUNDS - Prodigy uses a different quote format for mutual funds 
  120. requiring a different "XLT" file named "MUTFUNDS" as follows: 
  121.  
  122. **PRICES**
  123. "PRODIGY",7
  124. ,1,,,,15,15,15
  125.  
  126. In reponsed to the import prompt type:
  127.  
  128. C:\PRODIGY\QUOTES.TXT/MUTFUNDS.XLT<Enter>
  129.  
  130.  
  131. QUICKEN Portfolio Imports
  132. -------------------------
  133. To transfer your portfolio data from Quicken to PFROI or CAPTOOL perform 
  134. the following steps: 
  135.  
  136. 1) Run Quicken.  Select Quicken's "Reports" option. Select "Investment 
  137.    Reports" from the resulting sub-menu.  Select "Investment Transactions" 
  138.    from the resulting sub-sub-menu. Edit the Quicken report start date to 
  139.    correspond to the date of the very first transaction in your Quicken 
  140.    portfolio. Select the "Don't Subtotal" option and hit the "Enter" key 
  141.    until the transaction report appears on the screen.  Hit the "F8" key 
  142.    to execute the "Print" command.  At the "Print" menu select option #4 
  143.    to print to "Disk (ASCII)".  Specify 80 column wide output, and 
  144.    (IMPORTANT!) make sure that the date range for the report spans more 
  145.    than one calendar year (e.g. 12/01/91 to 06/01/92) so as to force 
  146.    Quicken to include the year portion on the transaction dates.  For the 
  147.    filename, type in "QKNTRANS.TXT" to create a disk file of the same name
  148.    which appears similar as follows when viewed with a text editor:
  149.  
  150.                                    INVESTMENT TRANSACTIONS REPORT
  151.                                        1/22/89 Through 9/22/91
  152. portfolio                                                                
  153. 9/22/91
  154.                                                                                 
  155.   Date    Action   Secur    Categ    Price     Shares     Commssn     Cash
  156. -------- ------- --------- ------ ---------- ---------- ---------- ---------- 
  157.  
  158.          BALANCE  1/21/89                                                0.00 
  159.  
  160.  1/22/89 XIn        -Cash- [portfo                                   5,000.00 
  161.  1/28/89 Buy     xxx corp             20.375   196.319              -4,000.00 
  162.  2/ 3/89 IntInc     -Cash- Investment Interest Inc                     140.00
  163.  2/ 8/89 MiscExp    -Cash-                                             -15.35 
  164.  3/ 8/89 RtrnCap xxx corp                                              100.25
  165.  7/ 8/89 Div     xxx corp  Dividend                                    135.75
  166.  7/10/89 Buy     yyy                      10       100              -1,000.00 
  167.  7/12/89 XIn        -Cash- [portfo                                   4,500.00 
  168.  7/14/89 CGLong  xxx corp  Long Term Cap Gain Dist                     230.00
  169.  7/26/89 CGShort xxx corp  Short Term Cap Gain Dist                     35.50
  170.  8/20/89 StkSpli xxx corp                    2:1
  171.  8/22/89 BuyX    zzz                      11       200              -2,200.00
  172. 10/ 5/89 ReinvDi yyy                      15     2.456                 -36.84
  173.  9/19/90 ShrsIn  Xyz corp                 10       100              -1,000.00
  174.  9/21/90 ShrsIn  abc corp                 25       100              -2,500.00
  175.  9/22/90 Buy     Xyz corp                 11       150              -1,650.00
  176.  9/22/90 XIn        -Cash- [portfo                                   2,000.00
  177.                                                                    ----------
  178.          TOTAL  1/22/89 -  9/22/91                                   6,476.15
  179.  
  180.  
  181.    (Note: The two right-most fields in this example have been deleted to
  182.    avoid "wrap-around" on 80 column wide printers.)
  183.  
  184.  
  185. 2) Escape back to the Quicken Investment Report menu. Now select
  186.    "Portfolio Values" from the menu.  Select a valuation date and
  187.    generate a valuation report. (Suggested dates: Year-end for every
  188.    year since portfolio started).  Once the valuation report is on
  189.    screen, execute the "F8" to print to a text file as was done for the
  190.    transactions.  Repeat the process for each valuation date you wish to
  191.    transfer. Since Quicken overwrites rather than append to print files
  192.    you must specify a new filename for each valuation. Use filenames
  193.    such as "QKNVAL1.TXT", "QKNVAL2.TXT", etc.  The Quicken Valuation
  194.    output should appear as follows:
  195.  
  196.                                 PORTFOLIO VALUE REPORT
  197.                                    As of 9/24/91
  198.  
  199.  
  200.  
  201.      Security         Shares   Curr Price   Cost Basis  Gain/Loss   Balance
  202. -------------------- ---------- ----------   ---------- ---------- -----------
  203. abc corp                 100.00         33     2,500.00     800.00    3,300.00
  204. Xyz corp                 200.00     12 1/2     2,150.00     350.00    2,500.00
  205. -Cash-                 1,675.00          1     1,675.00       0.00    1,675.00
  206.                                              ---------- ---------- -----------
  207. Total Investments                              6,325.00   1,150.00    7,475.00
  208.                                              ========== ========== ===========
  209.  
  210. 3) Exit Quicken to DOS and start PFROI or CAPTOOL.  Go to the PFROI main
  211.    menu and execute the "Load" command.  Specify an unused filename so
  212.    as to create new portfolio file.
  213.  
  214. 4) Enter the "Transactions" records screen.  It should be empty of data
  215.    since this is a new portfolio.  Execute the "Alt+I" Import command.
  216.    Respond to the file prompt as follows: 
  217.     
  218.      File: C:\QKN\QKNTRANS.TXT/QUICKEN.XLT<Enter>
  219.  
  220.    This tells PFROI to import data from the QKNTRANS.TXT file that you 
  221.    just generated with Quicken.  The "/QUICKEN" specifies that the file 
  222.    "QUICKEN.XLT" should be used to translate the data from QKNTRANS.TXT
  223.    to the internal data format used for PFROI transactions.  Upon 
  224.    hitting the "Enter" key you should see your quotes appear.  
  225.    
  226.    Carefully review the transactions for accuracy.  You should note that 
  227.    the ticker symbols were taken from the first seven characters of the 
  228.    Quicken description field. This is necessary because Quicken does not 
  229.    display ticker symbols on their transaction reports.  You can easily 
  230.    change these symbols to their correct value later using the PFROI 
  231.    "Change Symbol" utility (See #7 below).  Make note of the current
  232.    symbols that will need changing before proceeding. 
  233.    
  234.    Look for for "split" type transactions. You must edit these to enter 
  235.    the correct values in the "Quantity" field because Quicken uses a 
  236.    different notation for splits.  Note also that tax lot fields are 
  237.    also blank because Quicken does not specify tax lot methodology in 
  238.    their transaction report.  You will need to assign tax lot numbers if 
  239.    you are using other than average cost bases. 
  240.  
  241.  
  242. 5) Escape PFROI transactions and go to the PFROI valuation records.  
  243.    Execute the Alt+I (Import) command. Respond to the file prompt as 
  244.    follows: 
  245.     
  246.      File: QKNVAL1.TXT/QUICKEN.XLT<Enter>
  247.  
  248.    Repeat the process until all the Quicken valuation files you created 
  249.    have been imported. 
  250.  
  251.    Execute the "Alt+M" Multi-Create command and specify the first 
  252.    valuation date as the start date.  This causes PFROI to re-compute 
  253.    the cost bases and positions for each one of the valuations.  Lookout
  254.    for any valuation marked with an asterisk.  This indicates a price is 
  255.    missing.  In this case, execute "Alt+R" and key in the missing 
  256.    prices. 
  257.  
  258. 6) Execute Alt+F, and select the "saVe" option to save your new 
  259.    portfolio file. 
  260.  
  261. 7) Escape PFROI valuations and select the Utilities option on the main
  262.    PFROI menu.  Select the "Change Security Symbol" option. Specify the 
  263.    portfolio file just created as the target portfolio file.  Change the 
  264.    symbols for all the securities that did not have the correct ticker 
  265.    symbols upon conversion. 
  266.  
  267. IMPORTANT!: If the transactions or valuations do not appear on screen or 
  268. appear to be in error this may be due to a change in the Quicken report-
  269. ing format (The above based on Quicken V4). You may have to modify the 
  270. "translate" file "QUICKEN.XLT" (using your word processing software) to 
  271. accomodate the new format.  "QUICKEN.XLT" is a text file containing the 
  272. following information: 
  273.  
  274. **TRANSACTIONS**
  275. "TRANSACTIONS",7
  276. 1,10,18,0,18,47,68,59,0,0,37
  277. {TAC translations}
  278. SHRSIN=RCV
  279. SHRSOUT=DLV
  280. BUY=BUY
  281. BUYX=BYD
  282. CGLONG=CGD
  283. CGLONGX=CGW
  284. CGSHORT=SGD
  285. CGSHORTX=SGW
  286. DIV=DV+
  287. DIVX=DVW
  288. INTINC=IN+
  289. MARGINT=IN-
  290. MISCEXP=EXP
  291. RTRNCAP=ROC
  292. STKSPLIT=SP+
  293. REINVDIV=DRI
  294. REINVLG=CGR
  295. REINVSH=SGR
  296. SELL=SLL
  297. SELLX=SLW
  298. XIN=DPF
  299. XOUT=WDF
  300. -Cash-=**CASH***
  301. *******
  302. **VALUATIONS**
  303. "VALUE",7
  304. 0,1,1,22,32,0,67,43
  305. -Cash-=**CASH***
  306.  
  307.  
  308. There are two parts to the QUICKEN.XLT file.  The first pertains to 
  309. transactions and is identified by the "**TRANSACTIONS**" notation.  The 
  310. second part pertains to valuations and is identified by the 
  311. "**VALUATIONS**" notation.  The second line of each section contains a 
  312. "Key Word" followed by a comma and a number. PFROI searches for the key 
  313. word as it reads the import file and commences importing the specified 
  314. number of lines following the occurence of the key word. 
  315.  
  316. The third line, e.g.: "1,10,18,0,18,47,68,59,0,0,37", provides the 
  317. information used to do the actual data translation.  
  318.  
  319. The transaction import specifications have 11 fields as follows:
  320.  
  321.   1: Date.  The Quicken date starts in column #1, so there is a
  322.      "1" here.
  323.  
  324.   2: TAC.  The Quicken transaction code begins in the 10th screen
  325.      column so there is a "10" here.
  326.  
  327.   3: Symbol.  Quicken does not report a symbol, so the first word  
  328.      of the "Security" field is used instead.  This field starts 
  329.      at the 18th column so an "18" is used.
  330.  
  331.   4: Lot Number.  Quicken doesnt report tax lot numbers so this 
  332.      field is specified with a zero.
  333.  
  334.   5: Description.  This is column #18 in the Quicken report.
  335.  
  336.   6: Quantity.  Quicken col 47.
  337.  
  338.   7: Amount. Quicken col 68.
  339.  
  340.   8: Com/Fee. Quicken col 59.
  341.  
  342.   9: Est. Tax.  Not avail. in Quicken.
  343.  
  344.  10: X-Rate. Not avail. in Quicken.
  345.  
  346.  11: Price. Quicken col 37.
  347.  
  348. The field translation specifications are followed by "Equates" which are 
  349. used to translate Quicken transaction codes to PFROI TAC codes.  Symbol 
  350. equates may also be included here as is done here for "-CASH-" to 
  351. translate symbols. 
  352.  
  353.  
  354.  
  355. IMPORTING FROM CYBER-SCAN CREATED DTN FILES
  356. -------------------------------------------
  357. For those who wish to obtain near real-time quotes via a satellite feed
  358. DTN provides a cost-effective alternative.  CYBER-SCAN, Inc. (Rt. 4, Box
  359. 247, Buffalo, MN 55313,  Tele: 612-682-4150) provides software which can
  360. dump DTN quote data onto ASCII disk files which can be imported into 
  361. CAPTOOL as follows:
  362.  
  363. 1)  Run Cyber-Scan QUOTE COMMANDER program.
  364.  
  365. 2)  Select "Automatic Dump" option:
  366.     a) Set Time, or hit <Enter> key twice for immediate dump of data.
  367.     b) Select "ASCII dump type.  Data will be placed in an ASCII file 
  368.        named mo-dy-yr.ASC where "mo-dy-yr" is the current day's date.
  369.  
  370. 3)  Exit QUOTE COMMANDER when dump is finished.
  371.  
  372. 4)  Run CAPTOOL, enter CAPTOOL "Price History" Records:
  373.     a) Select "Portfolio Management" on main CAPTOOL menu.
  374.     b) Select "Auxiliary Records" on PFROI menu.
  375.     c) Select "Price History" on Auxiliary menu.
  376.  
  377. 5)  On CAPTOOL "Price History" screen:
  378.     a) Execute "Alt+I" (import) command.
  379.     b) At prompt for filename type in:
  380.  
  381.         File: C:\DTN\mo-dy-yr.ASC/CYBERSTK.XLT
  382.  
  383.     where "mo-dy-yr" is the current day's date and CYBERSTK.XLT
  384.     is the "translate" file for stocks.  Use CYBERFND.XLT for 
  385.     funds and CYBERBND.XLT for bonds.
  386.  
  387. CYBERSTK.XLT, CYBERFND.XLT & CYBERBND.XLT contents:
  388.  
  389. **PRICES**  {stocks}
  390. "",0
  391. 0,1,0,49,0,11,20,29
  392.  
  393. **PRICES**  {funds}
  394. "",0
  395. 0,1,0,0,0,11,11,11
  396.  
  397. **PRICES**  {bonds}
  398. "",0
  399. 0,1,0,0,0,29,29,29
  400.  
  401.  
  402. IMPORTING FROM RJT SYSTEMS "QUOTE EXPRESS" FILES
  403. ------------------------------------------------
  404. If you have DTN daily quote files captured using "Quote Express"
  405. from RJT Systems, Inc. (1049 SW Baseline #200, Hillsboro, OR 
  406. 97123, Ph:1-800-729-5037) you may import them by creating an 
  407. "XLT" file (see QEXPRESS.XLT) with contents as follows: 
  408.  
  409. **PRICES**
  410. "",0
  411. 2,1,0,7,3,4,5,6
  412. COMMADELIM
  413. YYMMDD=MM/DD/YY
  414.  
  415. You may dump Quote Express data to an importable text file and
  416. import that file into CAPTOOL as follows:
  417.  
  418. 1) From the main Quote Express screen, select the "Download" 
  419.    option, using the "Current List", "Defaults Only" sub-options.
  420.    The price data will be sent to a comma delimited ASCII text
  421.    file named "OUTPUT".
  422.  
  423. 2) Exit Quote Express and start CAPTOOL. Enter the CAPTOOL "Price 
  424.    History" records (from Time Trends menu or PFROI "Auxiliary"
  425.    sub-menu).  Execute the "Import" command (Alt+I), responding
  426.    to the file prompt as follows:
  427.  
  428.      Import File : C:\QE\OUTPUT/QEXPRESS.XLT<Enter>
  429.  
  430.  
  431.  
  432. IMPORTING FROM WORDEN ASCII PRICE FILES
  433. ---------------------------------------
  434. Worden Ascii price files appear as follows, with one stock per 
  435. file:
  436.  
  437. MRK,880609,56.8750,55.7500,56.1250,16808
  438. 880610,56.6250,55.5000,55.7500,8391
  439. 880613,55.5000,54.6250,55.0000,5595
  440.  
  441. Note that the file does not include the symbol on each line 
  442. of data and thus requires conversion to add this item so the
  443. file appears as follows:
  444.  
  445. MRK,880609,56.8750,55.7500,56.1250,16808
  446. MRK,880610,56.6250,55.5000,55.7500,8391
  447. MRK,880613,55.5000,54.6250,55.0000,5595
  448.  
  449. The utility program WORDENX.EXE will perform this function.  Once 
  450. converted, import the resulting modified file into the CAPTOOL 
  451. Price History records using the WORDEN.XLT translate file: 
  452.  
  453.  Import File:  C:\W_ASCII/WORDEN.XLT
  454.  
  455. where "W_ASCII" is the converted Worden ASCII file.
  456.  
  457. Note: For WORDENX.EXE conversion to work properly, the ticker 
  458. symbol must appear as the first symbol in the first line of the 
  459. WORDEN file.  If this ticker is missing, add it with your text
  460. editor program before performing the conversion.
  461.  
  462.  
  463. IMPORTING FROM META-STOCK ASCII FILES
  464. -------------------------------------
  465. META-STOCK ASCII files are identical to the Worden file described above, 
  466. except that you must edit the file to add the ticker symbol to the 
  467. beginning of the first line prior to using WORDENX.EXE to convert the 
  468. file.  Import in the same fashion as in the Worden example above. 
  469.  
  470. Schwab Account Access Link
  471. --------------------------
  472. Charles Schwab & Co. provides a service called "Schwab Link" to facilite 
  473. computerized trading by professional money managers and financial 
  474. advisors (contact C. Schwab Financial Advisor Service 1-800-648-6021 for 
  475. details...cost is around $1000/yr). 
  476.  
  477. Schwab Link enables the user to download Transaction and Position record 
  478. files which may then be imported into CAPTOOL Global Investor during 
  479. batch valuations, reducing data input to a minimum.  Details are 
  480. provided with CAPTOOL Global Investor.
  481.  
  482.  
  483. Other Imports
  484. -------------
  485. Users who wish to import data from other price sources and/or portfolio 
  486. managers may construct their own ".XLT" files using the prior examples 
  487. for guidances.  
  488. 
  489.  
  490.